package top.xiaoqiannb.shapelessdao.procedures;

import top.xiaoqiannb.shapelessdao.network.ShapelessdaoModVariables;

import net.minecraft.world.level.LevelAccessor;
import net.minecraft.world.entity.Entity;

public class FDirQimenLunchProcedure {
	public static void execute(LevelAccessor world, Entity entity) {
		if (entity == null)
			return;
		if (((entity.getCapability(ShapelessdaoModVariables.PLAYER_VARIABLES_CAPABILITY, null).orElse(new ShapelessdaoModVariables.PlayerVariables())).dir_qm).equals("\u6B63\u5357\u65B9")) {
			Li9Procedure.execute(entity);
		}
		if (((entity.getCapability(ShapelessdaoModVariables.PLAYER_VARIABLES_CAPABILITY, null).orElse(new ShapelessdaoModVariables.PlayerVariables())).dir_qm).equals("\u6B63\u5317\u65B9")) {
			Kan1Procedure.execute(entity);
		}
		if (((entity.getCapability(ShapelessdaoModVariables.PLAYER_VARIABLES_CAPABILITY, null).orElse(new ShapelessdaoModVariables.PlayerVariables())).dir_qm).equals("\u6B63\u897F\u65B9")) {
			Dui7Procedure.execute(entity);
		}
		if (((entity.getCapability(ShapelessdaoModVariables.PLAYER_VARIABLES_CAPABILITY, null).orElse(new ShapelessdaoModVariables.PlayerVariables())).dir_qm).equals("\u6B63\u4E1C\u65B9")) {
			Zhen3Procedure.execute(world, entity);
		}
		if (((entity.getCapability(ShapelessdaoModVariables.PLAYER_VARIABLES_CAPABILITY, null).orElse(new ShapelessdaoModVariables.PlayerVariables())).dir_qm).equals("\u4E1C\u5317\u65B9")) {
			Gen8Procedure.execute(entity);
		}
		if (((entity.getCapability(ShapelessdaoModVariables.PLAYER_VARIABLES_CAPABILITY, null).orElse(new ShapelessdaoModVariables.PlayerVariables())).dir_qm).equals("\u897F\u5317\u65B9")) {
			Qian6Procedure.execute(entity);
		}
		if (((entity.getCapability(ShapelessdaoModVariables.PLAYER_VARIABLES_CAPABILITY, null).orElse(new ShapelessdaoModVariables.PlayerVariables())).dir_qm).equals("\u4E1C\u5357\u65B9")) {
			Xun4Procedure.execute(entity);
		}
		if (((entity.getCapability(ShapelessdaoModVariables.PLAYER_VARIABLES_CAPABILITY, null).orElse(new ShapelessdaoModVariables.PlayerVariables())).dir_qm).equals("\u897F\u5357\u65B9")) {
			Kun2Procedure.execute(world, entity);
		}
	}
}
